Total Complexity | 52 |
Dependencies | 13 |
Dependents | 9 |
Total lines | 421 |
Lines of code | 200 |
Logical lines of code | 111 |
Comment lines | 154 |
Methods | 20 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
is_supported_environment() | 60 | 7 | 15 | |
run() | 53 | 6 | 23 | |
automatic_rules_available() | 54 | 6 | 22 | |
initialize() | 58 | 5 | 18 | |
initialize_waf_directory() | 61 | 4 | 13 | |
activate() | 58 | 3 | 16 | |
deactivate() | 62 | 3 | 12 | |
initialize_filesystem() | 65 | 3 | 9 | |
is_allowed_mode() | 64 | 2 | 10 | |
is_enabled() | 71 | 2 | 6 | |
create_blocklog_table() | 61 | 1 | 15 | |
get_waf_file_path() | 67 | 2 | 7 | |
get_config() | 62 | 1 | 12 | |
enable() | 78 | 1 | 3 | |
disable() | 79 | 1 | 3 | |
get_bootstrap_file_path() | 76 | 1 | 4 | |
add_hooks() | 78 | 1 | 3 | |
did_run() | 80 | 1 | 3 | |
errorHandler() | 89 | 1 | 2 | |
update_waf() | 77 | 1 | 4 |